package edu.neu.chenhan.model;

public class CooperationCategory {
    private String id;
    private String name; // 分类名称（会议研讨、标准定制等）
    private String description; // 分类简介
    private String iconRes; // 图标资源名称
    private int type; // 0=会议研讨, 1=标准定制, 2=技术培训, 3=工具研发, 4=公益行动

    // 默认构造函数
    public CooperationCategory() {
        this.id = "cat_001";
        this.name = "会议研讨";
        this.description = "行业前沿会议与交流活动";
        this.iconRes = "ic_meeting";
        this.type = 0;
    }

    // 带参数构造函数
    public CooperationCategory(String id, String name, String description, String iconRes, int type) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.iconRes = iconRes;
        this.type = type;
    }

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }

    public String getIconRes() { return iconRes; }
    public void setIconRes(String iconRes) { this.iconRes = iconRes; }

    public int getType() { return type; }
    public void setType(int type) { this.type = type; }
}